package com.tools.cleanmaster.model.item;

public class ImageTrashItem extends TrashItem implements Comparable<ImageTrashItem> {
    public String imageId;

    public String thumbnailPath;

    public String imagePath;

    public long takePhotoTime;

    public ImageTrashItem() {
        isSelected = false;
    }

    @Override
    public int compareTo(ImageTrashItem item) {
        if (item == null) {
            return 0;
        }
        if (takePhotoTime < item.takePhotoTime) {
            return -1;
        } else if (takePhotoTime > item.takePhotoTime) {
            return 1;
        }
        return 0;
    }
}
